package com.mepo.cheer.shared;

import com.google.gwt.user.client.Command;
import com.mepo.cheer.client.MepoCheerTempate;
import com.mepo.cheer.client.pages.CoachPage;

public class Coach extends MepoMenuType {

	private static final long serialVersionUID = 1L;
	private String name;
	private String imageLocation;
	private String bio;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getImageLocation() {
		return imageLocation;
	}
	public void setImageLocation(String imageLocation) {
		this.imageLocation = imageLocation;
	}
	public String getBio() {
		return bio;
	}
	public void setBio(String bio) {
		this.bio = bio;
	}
	
	@Override
	public Command getOnClickCommand() {
		return new Command() {
			@Override
			public void execute() {
				MepoCheerTempate.setContent(new CoachPage(Coach.this));
			}
		};
	}
		
}
